package alpha.com.google.code.mechanic.janitor.model;


/**
 * The class ProjectContext is a class for storing the information related
 * to projects. 
 *
 * Currently, the Janitor only have contexts related to different
 * projects. 
 * 
 * Last_edited: Apr 11, 2014
 * 
 * @author jingjiejiang
 * @since Apr 11, 2014
 *
 */
public class ProjectContext extends Context {

  private static final long serialVersionUID = 8500230824915461659L;
  
  private String name = "";
  private String location = "";
  private boolean isSelected = false;

  public ProjectContext() {
  }
  
  public ProjectContext(String name, String location) {
    
    this.name = name;
    this.location = location;
  }
  
  public String getName() {

    return name;
  }

  public String getFileLocation() {

    return location;
  }
  
  @Override
  public void setName (String name) {
    
    this.name = name;
  }
  
  @Override
  public void setFileLocation(String location) {

    this.location = location;
  }

  public boolean isSelected() {

    return isSelected;
  }

  public void setSelected(boolean selected) {
    
    this.isSelected = selected;
  }


}
